package com.ct.dao;

public class Employee {
    private int id;
    private String ename;
    private String password;
    private String sex;
    private String phoneNumber;
    private int position;//管理员64 采购员32 收银员16
    private int isEmployed; //1在职 0离职

    public Employee() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getEname() {
        return ename;
    }

    public void setEname(String ename) {
        this.ename = ename;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public int getPosition() {
        return position;
    }

    public void setPosition(int position) {
        this.position = position;
    }

    public int getIsEmployed() {
        return isEmployed;
    }

    public void setIsEmployed(int isEmployed) {
        this.isEmployed = isEmployed;
    }

    @Override
    public String toString() {
        return "employee{" +
                "id=" + id +
                ", ename='" + ename + '\'' +
                ", password='" + password + '\'' +
                ", sex='" + sex + '\'' +
                ", phoneNumber='" + phoneNumber + '\'' +
                ", position=" + position +
                ", isEmployed=" + isEmployed +
                '}';
    }
}
